<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Iniuriam: /home/etu/v/p1115890/LIF7/EncoreUn/iniuriam/src/equipement.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Iniuriam
   &#160;<span id="projectnumber">alpha 1</span>
   </div>
   <div id="projectbrief"> RPG futuriste</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">/home/etu/v/p1115890/LIF7/EncoreUn/iniuriam/src/equipement.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="equipement_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef __equipement_h__</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define __equipement_h__</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
<a name="l00006"></a>00006 <span class="preprocessor">#include &lt;SDL/SDL.h&gt;</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &quot;<a class="code" href="objet_8h.html">objet.h</a>&quot;</span>
<a name="l00008"></a>00008 
<a name="l00013"></a><a class="code" href="structEquipement.html">00013</a> <span class="keyword">typedef</span> <span class="keyword">struct</span>
<a name="l00014"></a>00014 {
<a name="l00015"></a><a class="code" href="structEquipement.html#ac73dacd6faa4cfbf58ead15ef2ab0bef">00015</a>     <a class="code" href="structObjet.html">Objet</a>* <a class="code" href="structEquipement.html#ac73dacd6faa4cfbf58ead15ef2ab0bef">tete</a>;            
<a name="l00016"></a><a class="code" href="structEquipement.html#a9b5997efc15a5cb6162fdca76a5f8313">00016</a>     <a class="code" href="structObjet.html">Objet</a>* <a class="code" href="structEquipement.html#a9b5997efc15a5cb6162fdca76a5f8313">torse</a>;           
<a name="l00017"></a><a class="code" href="structEquipement.html#a9aa2be46184e67a14709c39cfb729af7">00017</a>     <a class="code" href="structObjet.html">Objet</a>* <a class="code" href="structEquipement.html#a9aa2be46184e67a14709c39cfb729af7">bas</a>;             
<a name="l00018"></a><a class="code" href="structEquipement.html#aa0902022e1e0461a988e749493b5c20a">00018</a>     <a class="code" href="structObjet.html">Objet</a>* <a class="code" href="structEquipement.html#aa0902022e1e0461a988e749493b5c20a">mains</a>;           
<a name="l00019"></a><a class="code" href="structEquipement.html#a6e003ad6bf52c3bfced54a77a6e136f5">00019</a>     <a class="code" href="structObjet.html">Objet</a>* <a class="code" href="structEquipement.html#a6e003ad6bf52c3bfced54a77a6e136f5">pieds</a>;           
<a name="l00020"></a><a class="code" href="structEquipement.html#a6475e6ac57a2396398b97d338e0119b6">00020</a>     <a class="code" href="structObjet.html">Objet</a>* <a class="code" href="structEquipement.html#a6475e6ac57a2396398b97d338e0119b6">armeGauche</a>;      
<a name="l00021"></a><a class="code" href="structEquipement.html#acd2b72b8235c5f6618fca29c783a3c41">00021</a>     <a class="code" href="structObjet.html">Objet</a>* armeDroite [3];  
<a name="l00023"></a>00023 } <a class="code" href="structEquipement.html">Equipement</a>;
<a name="l00024"></a>00024 
<a name="l00029"></a>00029 <span class="keywordtype">void</span> <a class="code" href="equipement_8c.html#a20c4c5bbf8b8de67ab46e4fb208f1e08" title="Preconditions : equi n&#39;est pas initialisé   Postconditions : equi est initialisé">equiInit</a>(<a class="code" href="structEquipement.html">Equipement</a>* equi);
<a name="l00030"></a>00030 
<a name="l00035"></a>00035 <span class="keywordtype">void</span> <a class="code" href="equipement_8c.html#a784e01cec3cd7397d08e88e109b748a8" title="Preconditions : equi est initialisé   Postconditions : fixe l&#39;objet équipé à la tête dans equi à tete...">setEquiTete</a>(<a class="code" href="structEquipement.html">Equipement</a>* equi, <a class="code" href="structObjet.html">Objet</a>* tete);
<a name="l00036"></a>00036 
<a name="l00041"></a>00041 <span class="keywordtype">void</span> <a class="code" href="equipement_8c.html#a5615128e35195b546429358589e15f38" title="Preconditions : equi est initialisé   Postconditions : fixe l&#39;objet équipé au torse dans equi à torse...">setEquiTorse</a>(<a class="code" href="structEquipement.html">Equipement</a>* equi, <a class="code" href="structObjet.html">Objet</a>* torse);
<a name="l00042"></a>00042 
<a name="l00047"></a>00047 <span class="keywordtype">void</span> <a class="code" href="equipement_8c.html#a6a2ffc7877f7a909f6b515713d373fcf" title="Preconditions : equi est initialisé   Postconditions : fixe l&#39;objet équipé aux jambes dans equi à bas...">setEquiBas</a>(<a class="code" href="structEquipement.html">Equipement</a>* equi, <a class="code" href="structObjet.html">Objet</a>* bas);
<a name="l00048"></a>00048 
<a name="l00053"></a>00053 <span class="keywordtype">void</span> <a class="code" href="equipement_8c.html#a40aed0b83976ede7dc9d0d81e27ff22f" title="Preconditions : equi est initialisé   Postconditions : fixe l&#39;objet équipé aux mains dans equi à main...">setEquiMains</a>(<a class="code" href="structEquipement.html">Equipement</a>* equi, <a class="code" href="structObjet.html">Objet</a>* mains);
<a name="l00054"></a>00054 
<a name="l00059"></a>00059 <span class="keywordtype">void</span> <a class="code" href="equipement_8c.html#aa85469ded74b16336bf258c73abaf2b7" title="Preconditions : equi est initialisé   Postconditions : fixe l&#39;objet équipé aux pieds dans equi à pied...">setEquiPieds</a>(<a class="code" href="structEquipement.html">Equipement</a>* equi, <a class="code" href="structObjet.html">Objet</a>* pieds);
<a name="l00060"></a>00060 
<a name="l00065"></a>00065 <span class="keywordtype">void</span> <a class="code" href="equipement_8c.html#a980a0ef484a65428c9552dd858b3ea8c" title="Preconditions : equi est initialisé   Postconditions : fixe l&#39;objet équipé à la main gauche dans equi...">setMainGauche</a>(<a class="code" href="structEquipement.html">Equipement</a>* equi, <a class="code" href="structObjet.html">Objet</a>* bouclier);
<a name="l00066"></a>00066 
<a name="l00071"></a>00071 <span class="keywordtype">void</span> <a class="code" href="equipement_8c.html#a48a3aabe8081aab596ca26c57521bfdc" title="Preconditions : equi est initialisé, 0&lt;=i&lt;3   Postconditions : fixe le ième objet équipé à la main dr...">setMainDroite</a>(<a class="code" href="structEquipement.html">Equipement</a>* equi, <a class="code" href="structObjet.html">Objet</a>* arme, <span class="keyword">const</span> <span class="keywordtype">int</span> i);
<a name="l00072"></a>00072 
<a name="l00077"></a>00077 <a class="code" href="structObjet.html">Objet</a>* <a class="code" href="equipement_8c.html#a829444faae3a41b82f9c710ba045bd81" title="Preconditions : equi est initialisé   Postconditions : retourne l&#39;objet équipé à la tête dans equi...">getEquiTete</a>(<span class="keyword">const</span> <a class="code" href="structEquipement.html">Equipement</a>* equi);
<a name="l00078"></a>00078 
<a name="l00083"></a>00083 <a class="code" href="structObjet.html">Objet</a>* <a class="code" href="equipement_8c.html#a009dc7a7313fdee2da8561e9c5808931" title="Preconditions : equi est initialisé   Postconditions : retourne l&#39;objet équipé au torse dans equi...">getEquiTorse</a>(<span class="keyword">const</span> <a class="code" href="structEquipement.html">Equipement</a>* equi);
<a name="l00084"></a>00084 
<a name="l00089"></a>00089 <a class="code" href="structObjet.html">Objet</a>* <a class="code" href="equipement_8c.html#a17a5752a7ec4f2ac0eb5ca3a71710ad4" title="Preconditions : equi est initialisé   Postconditions : retourne l&#39;objet équipé aux jambes dans equi...">getEquiBas</a>(<span class="keyword">const</span> <a class="code" href="structEquipement.html">Equipement</a>* equi);
<a name="l00090"></a>00090 
<a name="l00095"></a>00095 <a class="code" href="structObjet.html">Objet</a>* <a class="code" href="equipement_8c.html#a2b2325248e0f2a00cefbea754e0de9bf" title="Preconditions : equi est initialisé   Postconditions : retourne l&#39;objet équipé aux mains dans equi...">getEquiMains</a>(<span class="keyword">const</span> <a class="code" href="structEquipement.html">Equipement</a>* equi);
<a name="l00096"></a>00096 
<a name="l00101"></a>00101 <a class="code" href="structObjet.html">Objet</a>* <a class="code" href="equipement_8c.html#a786aa27015ca7478e3eb3fa5bfc3bd0b" title="Preconditions : equi est initialisé   Postconditions : retourne l&#39;objet équipé aux pieds dans equi...">getEquiPieds</a>(<span class="keyword">const</span> <a class="code" href="structEquipement.html">Equipement</a>* equi);
<a name="l00102"></a>00102 
<a name="l00107"></a>00107 <a class="code" href="structObjet.html">Objet</a>* <a class="code" href="equipement_8c.html#a8550446ec13b61268f302fe8df16a350" title="Preconditions : equi est initialisé   Postconditions : retourne l&#39;objet équipé à la main gauche dans ...">getEquiMainGauche</a>(<span class="keyword">const</span> <a class="code" href="structEquipement.html">Equipement</a>* equi);
<a name="l00108"></a>00108 
<a name="l00113"></a>00113 <a class="code" href="structObjet.html">Objet</a>* <a class="code" href="equipement_8c.html#a1fde9fd67d56de203bc8aa6c39c10e2a" title="Preconditions : equi est initialisé,0&lt;=i&lt;3   Postconditions : retourne le ième objet équipé à la main...">getEquiMainDroite</a>(<span class="keyword">const</span> <a class="code" href="structEquipement.html">Equipement</a>* equi, <span class="keyword">const</span> <span class="keywordtype">int</span> i);
<a name="l00114"></a>00114 
<a name="l00119"></a>00119 <span class="keywordtype">void</span> <a class="code" href="equipement_8c.html#aacc6bc186ff58cd9f6bc886d71c5ec62" title="Preconditions : equi1 est initialisé,mais pas equi2   Postconditions : copie equi1 dans equi2...">copieEquipement</a> (<a class="code" href="structEquipement.html">Equipement</a>* equi1, <a class="code" href="structEquipement.html">Equipement</a>* equi2);
<a name="l00120"></a>00120 
<a name="l00121"></a>00121 <span class="preprocessor">#endif</span>
</pre></div></div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Jun 4 2013 08:45:33 for Iniuriam by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
